<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>个人中心</title>
    <link rel="stylesheet" href="../../static/css/common/adaptor.css">
    <link rel="stylesheet" href="../../static/css/common/common.css">
    <link rel="stylesheet" href="../../static/css/me/me.css">
</head>

<body>
    <div class="layout">
        <div class="userData">
            <!-- 动态渲染 -->
        </div>
        <div class="menu">
            <ul>
                <li><a href="../../index.html">首页<span class="indexxIcon"></span></a></li>
                <li><a href="../classify/classify.html">分类<span class="classifyIcon"></span></a></li>
                <li><a href="../activity/activity.html">活动<span class="activityIcon"></span></a></li>
                <li><a href="./shoppingCar.html">购物车<span class="carIcon"></span></a></li>
                <li><a href="javascript:void(0);">我<span class="meIcon"></span></a></li>
            </ul>
        </div>
    </div>
    <script type="text/template" id="userData">
        <div class="header clearfix">
            <div class="msgAndSetting">
                <div class="msBox">
                    <div class="msg"></div>
                    <div class="setting"></div>
                </div>
            </div>
            <div class="userMsg clearfix">
                <div class="userHeader"><img src="{{userData.headPic}}" alt=""></div>
                <div class="userName">{{userData.nickname}}</div>
            </div>
            <div class="assets clearfix">
                <div class="diamonds">
                    <div class="diamondNum">{{userData.diamond.toFixed(2)}}</div>
                    <div class="diamondIcon">钻石</div>
                </div>
                <div class="coin">
                    <div class="coinNum">{{userData.gold.toFixed(2)}}</div>
                    <div class="coinIcon">金币</div>
                </div>
                <div class="redPacket">
                    <div class="redPacketNum">{{userData.hongbao.toFixed(2)}}</div>
                    <div class="redPacketIcon">红包</div>
                </div>
            </div>
        </div>
        <div class="menuList clearfix">
            <ul>
                <li><a href="javascript:void(0);" class="orderBtn">订单
                    {{if userData.orderCount!==0}}
                    <i>{{userData.orderCount}}</i>
                    {{/if}}
                </a></li>
                <li><a href="javascript:void(0);" class="carBtn">购物车{{if userData.cartCount!=0}}<i>{{userData.cartCount}}</i>{{/if}}</a></li>
                <li><a href="javascript:void(0);" class="addBtn">地址</a></li>
                <li><a href="javascript:void(0);" class="cleBtn">收藏</a></li>
            </ul>
        </div>
        <div class="functionList clearfix">
            <ul>
                <li><a href="javascript:void(0);" class="phonePay">话费充值</a></li>
                <li><a href="javascript:void(0);" class="oilPay">加油卡</a></li>
                <li><a href="javascript:void(0);" class="tipsPaY">优惠券</a></li>
                <li><a href="javascript:void(0);" class="flutePay">流量充值</a></li>
            </ul>
        </div>
    </script>
    <script src="../../static/assets/jquery/jquery.min.js"></script>
    <script src="../../static/assets/art-template/template.js"></script>
    <script src="../../static/js/config/config.js"></script>
    <script src="../../static/js/config/tools.js"></script>
    <script src="../../static/js/me/me.js"></script>
</body>

</html>